Skip to content

refactor(frontend): migrate unit tests to use vitest browser#2569

Draft
Slessi wants to merge 1 commit into
siderolabs:mainfrom
Slessi:vitest-browser
Draft

refactor(frontend): migrate unit tests to use vitest browser#2569
Slessi wants to merge 1 commit into
siderolabs:mainfrom
Slessi:vitest-browser

Conversation

@Slessi
Copy link
Copy Markdown
Member

@Slessi Slessi commented Mar 23, 2026

Migrate unit tests from JSDom to vitest-browser with playwright. This allows unit tests to test components inside a real browser, and does away with a lot of the quirks of using JSDom and all the required faking.

Closes #2511

@Slessi Slessi moved this to In Progress in Planning Mar 23, 2026
@Slessi Slessi force-pushed the vitest-browser branch from 9ba77d8 to 42a646c Compare May 7, 2026 13:10
@Slessi Slessi force-pushed the vitest-browser branch from 42a646c to b016e98 Compare May 7, 2026 13:54
@Slessi Slessi force-pushed the vitest-browser branch from b016e98 to 0ce8c79 Compare May 7, 2026 14:07
@Slessi Slessi force-pushed the vitest-browser branch from 0ce8c79 to a0bcdf3 Compare May 7, 2026 14:17
@Slessi Slessi force-pushed the vitest-browser branch from a0bcdf3 to 1725819 Compare May 7, 2026 14:31
@Slessi Slessi had a problem deploying to Storybook preview May 11, 2026 14:56 — with GitHub Actions Error
Migrate unit tests from JSDom to vitest-browser with playwright. This allows unit tests to test components inside a real browser, and does away with a lot of the quirks of using JSDom and all the required faking.

Signed-off-by: Edward Sammut Alessi <edward.sammutalessi@siderolabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Migrate frontend unit tests from JSdom to browser based

1 participant